//
//  AlfrescoWebScriptClient.h
//  Alfresco
//
//  Created by Michael Muller on 8/20/09.
//  Copyright 2010 Zia Consulting.  Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php 
//

#import <Foundation/Foundation.h>
#import "XMLNode.h"

@interface AlfrescoWebScriptClient : NSObject {
	NSString *host;
	NSString *port;
	NSString *user;
	NSString *pass;
	NSString *ticket;
}

@property (nonatomic, retain) NSString *host;
@property (nonatomic, retain) NSString *port;
@property (nonatomic, retain) NSString *user;
@property (nonatomic, retain) NSString *pass;
@property (nonatomic, retain) NSString *ticket;

- (void)login;
- (id)getSites;
+ (AlfrescoWebScriptClient *)instance;
+ (void) cleanupForShutdown;
- (XMLNode *)getChildrenOfNode:(NSString *)node;
- (XMLNode *) searchFor:(NSString *)searchFor;
+ (NSString *) newStringWithNodeReferenceForGuid:(NSString *) guid;

@end
